<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Document</title>
</head>

<body>


	<script src="../js/jquery.3.5.1.js"></script>
	<script>
		// $.ajax({
		//     type: "GET",
		//     url: "https://jumpseat.atlasair.com/aa/tracktracehtml/TrackTrace.html?pe=403&se=39423171",
		//     dataType: "json",

		//     success: function (data) {
		//         console.log("data")
		//         console.log(data)
		//     },
		//     error: function (res) {
		//         console.log("res")
		//         console.log(res)
		//     }
		// })

		$.ajax({
			url: "https://jumpseat.atlasair.com/aa/tracktracehtml/TrackTrace.html?pe=403&se=39423171",
			type: 'get',
			// data: {
			// 	"api_key": "8fd86da7a737452f3c0927ca56159177535390044",
			// 	"api_token": "9afec65c9a0e28d94ffaab583e5c3c801436530433",
			// 	"page_title": "test44",
			// 	"page_content": "wwjdyiedjfewwueijwwjdjfi"
			// },
			headers: {
				"Access-Control-Allow-Origin": "*"
			},
			// crossDomain:true,
			// jsonp: "callback",
			dataType: "jsonp",
			// jsonpCallback: 'Callback',
			success: function (data) {
				console.log("data")
				console.log(data)
			},
			error: function (res) {
				console.log("res")
				console.log(res)
			}
		})


		for (var i = 10; i < 500; i += 5) {
			console.log(i)
			$.ajax({
				type: "post",
				url: "AgentAwbBrower.aspx/GetAwbType",
				contentType: "application/json; charset=utf-8",
				dataType: "json",
				async: false,
				data: "{awbPrefix:'" + 784 + "',awbNo:'" + 43750512 + "',point:'" + i + "'}",
				success: function (data) {
					console.log("~~", data)

					// })
				}
			})
		}
	</script>
</body>

</html>